const { login,getshoppingList,getUserlist,getMessage } = require("./function/leader");
const {
  shopping,
  getshopping,
  getbanner,
  storeValue,
  remove,
  search,
} = require("./function/shmily");
const { homeData } = require("./function/dz");
const {
  sign,
  hsignlist,
  signss,
  sites,
  cillse,
  honSave,
  sitetgh,
  hsiteselect,
  hpictur,
  hcillse,
  cartpes,
  remomo,
  cillseers,
  integer,
  conver,
  getToken,
  getintegral,
  shopdata
} = require("./function/hanjinqi");
const {
  getCarData,
  shopp,
  chooseShop,
  changeShopsTypes,
  addshopping
} = require("./function/yanqq");
let routerConfig = [
  // 赵孟凡
  {
    url: "/login",
    method: "POST",
    callback: login,
  },
  {
    url: "/getshoppingList",
    method: "POST",
    callback: getshoppingList,
  },
  {
    url: "/getUserlist",
    method: "POST",
    callback: getUserlist,
  },
  {
    url: "/getMessage",
    method: "POST",
    callback: getMessage,
  },
  // 董臻
  {
    url: "/homeData",
    method: "POST",
    callback: homeData,
  },
  // 刘震
  {
    url: "/shopping",
    method: "POST",
    callback: shopping,
  },
  {
    url: "/getshopping",
    method: "POST",
    callback: getshopping,
  },
  {
    url: "/getbanner",
    method: "POST",
    callback: getbanner,
  },
  {
    url: "/storeValue",
    method: "POST",
    callback: storeValue,
  },
  {
    url: "/remove",
    method: "POST",
    callback: remove,
  },
  {
    url: "/search",
    method: "POST",
    callback: search,
  },
  // 闫清倩
  {
    url: "/getCarData",
    method: "POST",
    callback: getCarData,
  },
  {
    url: "/shopp",
    method: "POST",
    callback: shopp,
  },
  {
    url: "/chooseShop",
    method: "POST",
    callback: chooseShop,
  },
  {
    url: "/changeShopsTypes",
    method: "POST",
    callback: changeShopsTypes,
  },
  {
    url: "/addshopping",
    method: "POST",
    callback: addshopping,
  },
  // 韩金旗
  {
    url: "/sign",
    method: "POST",
    callback: sign,
  },
  {
    url: "/hsignlist",
    method: "POST",
    callback: hsignlist,
  },
  {
    url: "/signss",
    method: "POST",
    callback: signss,
  },
  {
    url: "/sites",
    method: "POST",
    callback: sites,
  },
  {
    url: "/cillse",
    method: "POST",
    callback: cillse,
  },
  {
    url: "/honSave",
    method: "POST",
    callback: honSave,
  },
  {
    url: "/sitetgh",
    method: "POST",
    callback: sitetgh,
  },
  {
    url: "/hsiteselect",
    method: "POST",
    callback: hsiteselect,
  },
  {
    url: "/hpictur",
    method: "POST",
    callback: hpictur,
  },
  {
    url: "/hcillse",
    method: "POST",
    callback: hcillse,
  },
  {
    url: "/cartpes",
    method: "POST",
    callback: cartpes,
  },
  {
    url: "/remomo",
    method: "POST",
    callback: remomo,
  },
  {
    url: "/cillseers",
    method: "POST",
    callback: cillseers,
  },
  {
    url: "/integer",
    method: "POST",
    callback: integer,
  },
  {
    url: "/conver",
    method: "POST",
    callback: conver,
  },
  {
    url: "/getToken",
    method: "POST",
    callback: getToken,
  },
  {
    url: "/getintegral",
    method: "POST",
    callback: getintegral,
  },
   {
    url: "/shopdata",
    method: "POST",
    callback: shopdata,
  },
];
// router.get(url,homeList)
module.exports = routerConfig;
